<!DOCTYPE html>
<?php
echo $this->Bootstrap->before_header();
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       Cake.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

?>

<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <?php 

    echo $this->Html->charset(); 
    echo $this->Html->meta('keywords',
    						$this->fetch('keywords_for_layout')
    					);
    echo $this->Html->meta(
    						'description', 
    						$this->fetch('description_for_layout')
    					);
    echo $this->Html->meta('viewport',
    						'width=device-width'
    					);

    ?>

	<title><?php echo $title_for_layout;?></title>
	<style>
    	body {
            padding-top: 60px;
            padding-bottom: 40px;
        }
    </style>
	<?php
		$this->Bootstrap->css();
		echo $this->Html->css('chamados.css');		
		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
		echo $this->Bootstrap->ie_inside_header();
	?>
</head>
<body>
	<?php $this->Bootstrap->version_browser(); ?>
	<div class="container">
			<?php //echo $this->NavVertical->nav_vertical(); ?>
			<?php echo $this->Session->flash(); ?>
			<?php echo $this->fetch('content'); ?>
		<hr>
		<footer class="">
		<?php 
			if($this->fetch('referencia_bibliografica') != ""){
				echo $this->Html->tag('span', 'Referências:');
				echo $this->fetch('referencia_bibliografica');
			}
		?>	
			<?php echo $this->fetch('footer'); ?>
		</footer>
	</div>
	<?php
		$this->Bootstrap->js();
		$this->Bootstrap->load_jquery();
		//echo $this->element('sql_dump'); 
	?>
</body>
</html>